package net.lab1024.sa.admin.module.business.erp.domain.form.add;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 生产订单与用户关系表 新建表单
 *
 * @Author akita
 * @Date 2025-04-19 13:18:28
 * @Copyright akita
 */

@Data
public class AccountbAddForm {

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "编码 不能为空")
    private Long docEntry;

    @Schema(description = "行号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "行号 不能为空")
    private Integer lineNum;
    private BigDecimal deduct;
    private BigDecimal deductCost;
}